package cn.sytton.taffe.web.sys.service.impl;

import cn.sytton.taffe.file.service.AbstractFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 测试用文件处理服务
 *
 * @author skyrock
 */
@Slf4j
@Component
public class FileTestService extends AbstractFileService {

    private final static String BUCKET_NAME = "test";

    @Override
    public void afterPropertiesSet() throws Exception {
        super.setBucketName(BUCKET_NAME);
        super.makePublicBucket(); //创建public存储桶
        super.afterPropertiesSet();
    }
}
